.wrap {
  // margin-bottom: 8px;
  box-sizing: border-box;
  padding: 15px 15px 0;
  .title {
    margin-bottom: 11px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    .left-part {
      display: flex;
      align-items: center;
      .title-pic {
        margin-right: 10px;
        width: 28px;
        height: 28px;
        font-size: 12px;
      }
      .title-text {
        line-height: 22px;
        max-width: 256px;
        color: @main-text-color;
        font-size: 16px;
        font-weight: bold;
        .text-overflow()
      }
    }
    .status-box {
      position: absolute;
      right: 0;
    }
  }
  .detail-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    .info-item {
      margin-top: 4px;
      display: flex;
      line-height: 20px;
      font-size: 14px;
      .info-item-title {
        width: 84px;
        min-width: 84px;
        color: @auxiliary-color;
      }
      .info-item-content {
        margin-left: 15px;
        color: #333;
      }
    }
  }
  // :global {
  //   .am-button {
  //   }
  // }
  .footer-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    .time {
      text-align: right;
      line-height: 16px;
      color: @tips-color;
      font-size: 12px;
    }
    .button-wrap {
      display: flex;
      flex-direction: row-reverse;
      >a {
        &:first-of-type {
          margin-left: 8px;
          &:before {
            border: 1px solid #333;
          }
        }
      }
      :global {
        .am-button {
          border: none !important;
          overflow: visible;
        }
      }
    }
    &.footer-box-border {
      padding-bottom: 0;
      position: relative;
      &:after {
        content: ' ';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 1px;
        transform: scale(1, 0.5);
        background-color: @split-line;
      }
      .time {
        margin: 10px 0;
      }
    }
  }
  &.BatchApproval {
    width: 100vw;
  }
  &.BatchApprovalButtonStyle {
    .button-wrap {
      >a {
        background-color: #F5F5F5;
      }
      :global {
        .am-button {
          border: #F5F5F5 !important;
          color: @minor-color  !important;
          font-size: 12px;
        }
      }
    }
  }
}